Oopsy. Fix remaining doodoo in KML writer.
authorrobertl <robertl>
Wed, 18 Oct 2006 20:31:52 +0000 (20:31 +0000)
committerrobertl <robertl>
Wed, 18 Oct 2006 20:31:52 +0000 (20:31 +0000)
kml.c

diff --git a/kml.c b/kml.c
index 8d47d9f34c3ebf882e2516aa3178f34a3ef4ddbb..c68738c4299e39c9cb92117333be3b1798aad5c1 100644 (file)
--- a/kml.c
+++ b/kml.c
@@ -649,7 +649,6 @@ static void kml_waypt_pr(const waypoint *waypointp)
 
                                fprintf(ofd, "<![CDATA[<p>%s</p>]]>\n", waypointp->gc_data.desc_short.utfstring);
 
-                               xfree(ob);
                        }
                }
                kml_write_xml(0, "</description>\n");